mirror of
https://github.com/nextcloud/talk-android.git
synced 2024-12-18 14:42:16 +03:00
fixes after some wrong merge after merge conflict
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
This commit is contained in:
parent
2e591db2e9
commit
de405d57c3
2 changed files with 3 additions and 4 deletions
|
@ -63,5 +63,5 @@ interface ChatNetworkDataSource {
|
|||
fun deleteChatMessage(credentials: String, url: String): Observable<ChatOverallSingleMessage>
|
||||
fun createRoom(credentials: String, url: String, map: Map<String, String>): Observable<RoomOverall>
|
||||
fun setChatReadMarker(credentials: String, url: String, previousMessageId: Int): Observable<GenericOverall>
|
||||
fun editChatMessage(credentials: String, url: String, text: String): Observable<ChatOverallSingleMessage>
|
||||
suspend fun editChatMessage(credentials: String, url: String, text: String): ChatOverallSingleMessage
|
||||
}
|
||||
|
|
|
@ -179,7 +179,6 @@ class RetrofitChatNetwork(private val ncApi: NcApi, private val ncApiCoroutines:
|
|||
previousMessageId: Int
|
||||
): Observable<GenericOverall> = ncApi.setChatReadMarker(credentials, url, previousMessageId).map { it }
|
||||
|
||||
override fun editChatMessage(credentials: String, url: String, text: String): Observable<ChatOverallSingleMessage> {
|
||||
return ncApi.editChatMessage(credentials, url, text).map { it }
|
||||
}
|
||||
override suspend fun editChatMessage(credentials: String, url: String, text: String): ChatOverallSingleMessage =
|
||||
ncApiCoroutines.editChatMessage(credentials, url, text)
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue