File tree Expand file tree Collapse file tree 2 files changed +37
-20
lines changed
libraries/matrix/api/src/main/kotlin/io/element/android/libraries/matrix/api/timeline/item/event Expand file tree Collapse file tree 2 files changed +37
-20
lines changed Original file line number Diff line number Diff line change @@ -99,26 +99,6 @@ data class FormattedBody(
9999 val body : String
100100)
101101
102- enum class MembershipChange {
103- NONE ,
104- ERROR ,
105- JOINED ,
106- LEFT ,
107- BANNED ,
108- UNBANNED ,
109- KICKED ,
110- INVITED ,
111- KICKED_AND_BANNED ,
112- INVITATION_ACCEPTED ,
113- INVITATION_REJECTED ,
114- INVITATION_REVOKED ,
115- KNOCKED ,
116- KNOCK_ACCEPTED ,
117- KNOCK_RETRACTED ,
118- KNOCK_DENIED ,
119- NOT_IMPLEMENTED ;
120- }
121-
122102sealed interface OtherState {
123103 data object PolicyRuleRoom : OtherState
124104 data object PolicyRuleServer : OtherState
Original file line number Diff line number Diff line change 1+ /*
2+ * Copyright (c) 2023 New Vector Ltd
3+ *
4+ * Licensed under the Apache License, Version 2.0 (the "License");
5+ * you may not use this file except in compliance with the License.
6+ * You may obtain a copy of the License at
7+ *
8+ * http://www.apache.org/licenses/LICENSE-2.0
9+ *
10+ * Unless required by applicable law or agreed to in writing, software
11+ * distributed under the License is distributed on an "AS IS" BASIS,
12+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+ * See the License for the specific language governing permissions and
14+ * limitations under the License.
15+ */
16+
17+ package io.element.android.libraries.matrix.api.timeline.item.event
18+
19+ enum class MembershipChange {
20+ NONE ,
21+ ERROR ,
22+ JOINED ,
23+ LEFT ,
24+ BANNED ,
25+ UNBANNED ,
26+ KICKED ,
27+ INVITED ,
28+ KICKED_AND_BANNED ,
29+ INVITATION_ACCEPTED ,
30+ INVITATION_REJECTED ,
31+ INVITATION_REVOKED ,
32+ KNOCKED ,
33+ KNOCK_ACCEPTED ,
34+ KNOCK_RETRACTED ,
35+ KNOCK_DENIED ,
36+ NOT_IMPLEMENTED ;
37+ }
You can’t perform that action at this time.
0 commit comments