forked from upstream-mirrors/quik
Allow selecting schedule time for message
This commit is contained in:
@@ -1,7 +1,6 @@
|
||||
package com.moez.QKSMS.repository
|
||||
|
||||
import com.moez.QKSMS.model.ScheduledMessage
|
||||
import io.realm.RealmList
|
||||
import io.realm.RealmResults
|
||||
|
||||
interface ScheduledMessageRepository {
|
||||
@@ -9,8 +8,8 @@ interface ScheduledMessageRepository {
|
||||
/**
|
||||
* Saves a scheduled message and returns the id if successful
|
||||
*/
|
||||
fun saveScheduledMessage(date: Long, recipients: RealmList<String>, sendAsGroup: Boolean, body: String,
|
||||
attachments: RealmList<String>): Long
|
||||
fun saveScheduledMessage(date: Long, subId: Int, recipients: List<String>, sendAsGroup: Boolean, body: String,
|
||||
attachments: List<String>): Long
|
||||
|
||||
/**
|
||||
* Returns all of the scheduled messages, sorted chronologically
|
||||
|
||||
Reference in New Issue
Block a user