1
0
Fork 0
mirror of https://github.com/anyproto/anytype-kotlin.git synced 2025-06-08 05:47:05 +09:00

DROID-3633 Protocol | Enhancement | MW 0.41.0-rc1 (#2377)

This commit is contained in:
Evgenii Kozlov 2025-05-05 17:12:13 +02:00 committed by GitHub
parent cbd0be3051
commit 011f153297
Signed by: github
GPG key ID: B5690EEEBB952194
4 changed files with 36 additions and 3 deletions

View file

@ -939,10 +939,10 @@ class ChatViewModel @Inject constructor(
}
}
fun onScrollToBottomClicked() {
fun onScrollToBottomClicked(lastVisibleMessage: Id?) {
Timber.d("DROID-2966 onScrollToBottom")
viewModelScope.launch {
chatContainer.onLoadChatTail()
chatContainer.onLoadChatTail(lastVisibleMessage)
}
}

View file

@ -1,5 +1,5 @@
[versions]
middlewareVersion = "v0.40.19"
middlewareVersion = "v0.41.0-rc1"
kotlinVersion = '2.0.21'
kspVersion = "2.0.21-1.0.25"

View file

@ -8389,6 +8389,31 @@ message Rpc {
Code code = 1;
string description = 2;
enum Code {
NULL = 0;
UNKNOWN_ERROR = 1;
BAD_INPUT = 2;
}
}
}
}
}
message PushNotification {
message RegisterToken {
message Request {
string token = 1;
Platform platform = 2;
}
enum Platform {
IOS = 0;
Android = 1;
}
message Response {
Error error = 1;
message Error {
Code code = 1;
string description = 2;
enum Code {
NULL = 0;
UNKNOWN_ERROR = 1;

View file

@ -122,6 +122,7 @@ message Event {
Chat.Delete chatDelete = 131;
Chat.UpdateState chatStateUpdate = 133; // in case new unread messages received or chat state changed (e.g. message read on another device)
PushEncryptionKey.Update pushEncryptionKeyUpdate = 136;
}
}
@ -1189,6 +1190,13 @@ message Event {
model.Import.Type importType = 3;
}
}
message PushEncryptionKey {
message Update {
string encryptionKeyId = 1;
string encryptionKey = 2;
}
}
}
message ResponseEvent {