session-android/src/org/thoughtcrime/securesms/loki/FriendRequestViewDelegate.kt

16 lines
577 B
Kotlin
Raw Normal View History

2019-06-21 14:18:38 +10:00
package org.thoughtcrime.securesms.loki
2019-06-27 16:03:05 +10:00
import org.thoughtcrime.securesms.database.model.MessageRecord
2019-06-21 14:18:38 +10:00
interface FriendRequestViewDelegate {
/**
* Implementations of this method should update the thread's friend request status
* and send a friend request accepted message.
*/
2019-06-27 16:03:05 +10:00
fun acceptFriendRequest(friendRequest: MessageRecord)
2019-06-21 14:18:38 +10:00
/**
* Implementations of this method should update the thread's friend request status
* and remove the pre keys associated with the contact.
*/
2019-06-27 16:03:05 +10:00
fun rejectFriendRequest(friendRequest: MessageRecord)
2019-06-21 14:18:38 +10:00
}