疑似アカウントのミュートユーザ一覧を開けなかったバグを修正。多分5.512から存在してた
This commit is contained in:
parent
898b3f69e5
commit
ad6441b99d
|
@ -71,22 +71,22 @@ class UserRelation(
|
|||
private const val COL_NOTE = "note"
|
||||
private const val COL_NOTIFYING = "notifying"
|
||||
|
||||
val columnList= MetaColumns(table, 30).apply {
|
||||
column( 0, COL_ID, "INTEGER PRIMARY KEY")
|
||||
column( 0, COL_TIME_SAVE, "integer not null")
|
||||
column( 0, COL_DB_ID, "integer not null")
|
||||
column( 0, COL_WHO_ID, "text not null")
|
||||
column( 0, COL_FOLLOWING, "integer not null")
|
||||
column( 0, COL_FOLLOWED_BY, "integer not null")
|
||||
column( 0, COL_BLOCKING, "integer not null")
|
||||
column( 0, COL_MUTING, "integer not null")
|
||||
column( 0, COL_REQUESTED, "integer not null")
|
||||
column( 0, COL_FOLLOWING_REBLOGS, "integer not null")
|
||||
column( 32, COL_ENDORSED, "integer default 0")
|
||||
column( 34, COL_BLOCKED_BY, "integer default 0")
|
||||
column( 35, COL_REQUESTED_BY, "integer default 0")
|
||||
column( 55, COL_NOTE, "text default null")
|
||||
column( 58, COL_NOTIFYING, "integer default 0")
|
||||
val columnList = MetaColumns(table, 30).apply {
|
||||
column(0, COL_ID, "INTEGER PRIMARY KEY")
|
||||
column(0, COL_TIME_SAVE, "integer not null")
|
||||
column(0, COL_DB_ID, "integer not null")
|
||||
column(0, COL_WHO_ID, "text not null")
|
||||
column(0, COL_FOLLOWING, "integer not null")
|
||||
column(0, COL_FOLLOWED_BY, "integer not null")
|
||||
column(0, COL_BLOCKING, "integer not null")
|
||||
column(0, COL_MUTING, "integer not null")
|
||||
column(0, COL_REQUESTED, "integer not null")
|
||||
column(0, COL_FOLLOWING_REBLOGS, "integer not null")
|
||||
column(32, COL_ENDORSED, "integer default 0")
|
||||
column(34, COL_BLOCKED_BY, "integer default 0")
|
||||
column(35, COL_REQUESTED_BY, "integer default 0")
|
||||
column(55, COL_NOTE, "text default null")
|
||||
column(58, COL_NOTIFYING, "integer default 0")
|
||||
createExtra = {
|
||||
arrayOf(
|
||||
"create unique index if not exists ${table}_id on $table($COL_DB_ID,$COL_WHO_ID)",
|
||||
|
@ -422,7 +422,7 @@ class UserRelation(
|
|||
|
||||
fun listPseudoMuted() =
|
||||
db.rawQuery(
|
||||
"select $COL_ID,$COL_WHO_ID from $table where $COL_DB_ID=$DB_ID_PSEUDO and ($COL_MUTING=1 or $COL_BLOCKING=1) order by $COL_WHO_ID asc",
|
||||
"select * from $table where $COL_DB_ID=$DB_ID_PSEUDO and ($COL_MUTING=1 or $COL_BLOCKING=1) order by $COL_WHO_ID asc",
|
||||
emptyArray()
|
||||
)?.use {
|
||||
ColIdx(it).readAll(it)
|
||||
|
|
Loading…
Reference in New Issue