forked from upstream-mirrors/quik
Fix branch name in actions
This commit is contained in:
@@ -82,6 +82,7 @@ open class Message : RealmObject() {
|
||||
val emojiReactions: RealmList<EmojiReaction> = RealmList()
|
||||
|
||||
var sendAsGroup: Boolean = false
|
||||
var fromMatrix: Boolean = false
|
||||
|
||||
fun getUri(): Uri {
|
||||
if (contentId == 0L)
|
||||
|
||||
@@ -86,7 +86,8 @@ interface MessageRepository {
|
||||
|
||||
fun sendNewMessages(
|
||||
subId: Int, toAddresses: Collection<String>, body: String,
|
||||
attachments: Collection<Attachment>, sendAsGroup: Boolean, delayMs: Int = 0
|
||||
attachments: Collection<Attachment>, sendAsGroup: Boolean, delayMs: Int = 0,
|
||||
fromMatrix: Boolean = false
|
||||
): Collection<Message>
|
||||
|
||||
fun sendMessage(message: Message): Collection<Message>
|
||||
|
||||
@@ -138,6 +138,10 @@ class Preferences @Inject constructor(
|
||||
|
||||
val autoDeduplicate = rxPrefs.getBoolean("autoDeduplicateMessages", false)
|
||||
|
||||
val matrixManagerId = rxPrefs.getString("matrixManagerId", "")
|
||||
val matrixAccount = rxPrefs.getString("matrixAccount", "Not logged in")
|
||||
val matrixBackfillLimit = rxPrefs.getString("matrixBackfillLimit", "100")
|
||||
|
||||
init {
|
||||
// Migrate from old night mode preference to new one, now that we support android Q night mode
|
||||
val nightModeSummary = rxPrefs.getInteger("nightModeSummary")
|
||||
|
||||
Reference in New Issue
Block a user