diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml index 08eaade50a..dae31d7279 100644 --- a/gradle/libs.versions.toml +++ b/gradle/libs.versions.toml @@ -1,5 +1,5 @@ [versions] -middlewareVersion = "v0.41.0-rc1" +middlewareVersion = "v0.41.0-rc3mobile" kotlinVersion = '2.0.21' kspVersion = "2.0.21-1.0.25" diff --git a/protocol/src/main/proto/commands.proto b/protocol/src/main/proto/commands.proto index 522875cfb6..bc1c7fe82b 100644 --- a/protocol/src/main/proto/commands.proto +++ b/protocol/src/main/proto/commands.proto @@ -8297,11 +8297,21 @@ message Rpc { } message SubscribeToMessagePreviews { - message Request {} + message Request { + string subId = 1; + } message Response { Error error = 1; - string subId = 2; + repeated ChatPreview previews = 2; + + message ChatPreview { + string spaceId = 1; + string chatObjectId = 2; + model.ChatMessage message = 3; + model.ChatState state = 4; + repeated google.protobuf.Struct dependencies = 5; + } message Error { Code code = 1; @@ -8318,7 +8328,9 @@ message Rpc { } message UnsubscribeFromMessagePreviews { - message Request {} + message Request { + string subId = 1; + } message Response { Error error = 1; diff --git a/protocol/src/main/proto/models.proto b/protocol/src/main/proto/models.proto index 69ab599f08..92874651fb 100644 --- a/protocol/src/main/proto/models.proto +++ b/protocol/src/main/proto/models.proto @@ -1367,7 +1367,11 @@ message MembershipTierData { // Android platform-specific data: string androidProductId = 17; string androidManageUrl = 18; + + // "limited offer" or somehing like that + string offer = 19; } + enum DeviceNetworkType { WIFI = 0; CELLULAR = 1;