mirror of
https://github.com/oxen-io/session-android.git
synced 2024-11-24 02:25:19 +00: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)
|
|
} |