add a Mark as Unread menu item at the thread screen
This commit is contained in:
parent
21891ff677
commit
22b6040a86
4 changed files with 30 additions and 0 deletions
|
|
@ -17,6 +17,9 @@ interface ConversationsDao {
|
|||
@Query("UPDATE conversations SET read = 1 WHERE thread_id = :threadId")
|
||||
fun markRead(threadId: Long)
|
||||
|
||||
@Query("UPDATE conversations SET read = 0 WHERE thread_id = :threadId")
|
||||
fun markUnread(threadId: Long)
|
||||
|
||||
@Query("DELETE FROM conversations WHERE id = :id")
|
||||
fun delete(id: Long)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue