That fuck shit the fascists are using
1package org.tm.archive.groups;
2
3import androidx.annotation.NonNull;
4import androidx.annotation.Nullable;
5
6import org.signal.storageservice.protos.groups.local.DecryptedGroup;
7import org.signal.storageservice.protos.groups.local.DecryptedGroupChange;
8
9public final class GroupMutation {
10 @Nullable private final DecryptedGroup previousGroupState;
11 @Nullable private final DecryptedGroupChange groupChange;
12 @NonNull private final DecryptedGroup newGroupState;
13
14 public GroupMutation(@Nullable DecryptedGroup previousGroupState, @Nullable DecryptedGroupChange groupChange, @NonNull DecryptedGroup newGroupState) {
15 this.previousGroupState = previousGroupState;
16 this.groupChange = groupChange;
17 this.newGroupState = newGroupState;
18 }
19
20 public @Nullable DecryptedGroup getPreviousGroupState() {
21 return previousGroupState;
22 }
23
24 public @Nullable DecryptedGroupChange getGroupChange() {
25 return groupChange;
26 }
27
28 public @NonNull DecryptedGroup getNewGroupState() {
29 return newGroupState;
30 }
31}