mirror of
https://github.com/oxen-io/session-android.git
synced 2023-12-14 02:53:01 +01:00
16 lines
577 B
Kotlin
16 lines
577 B
Kotlin
package org.thoughtcrime.securesms.loki
|
|
|
|
import org.thoughtcrime.securesms.database.model.MessageRecord
|
|
|
|
interface FriendRequestViewDelegate {
|
|
/**
|
|
* Implementations of this method should update the thread's friend request status
|
|
* and send a friend request accepted message.
|
|
*/
|
|
fun acceptFriendRequest(friendRequest: MessageRecord)
|
|
/**
|
|
* Implementations of this method should update the thread's friend request status
|
|
* and remove the pre keys associated with the contact.
|
|
*/
|
|
fun rejectFriendRequest(friendRequest: MessageRecord)
|
|
} |