File tree 1 file changed +8
-0
lines changed
crates/matrix-sdk-ui/src/timeline
1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -123,18 +123,26 @@ pub(super) struct TimelineEventContext {
123
123
pub ( super ) should_add_new_items : bool ,
124
124
}
125
125
126
+ /// Which kind of aggregation (i.e. modification of a related event) are we
127
+ /// going to handle?
126
128
#[ derive( Clone , Debug ) ]
127
129
pub ( super ) enum HandleAggregationKind {
130
+ /// Adding a reaction to the related event.
128
131
Reaction { key : String } ,
129
132
133
+ /// Redacting (removing) the related event.
130
134
Redaction ,
131
135
136
+ /// Editing (replacing) the related event with another one.
132
137
Edit { replacement : Replacement < RoomMessageEventContentWithoutRelation > } ,
133
138
139
+ /// Responding to the related poll event.
134
140
PollResponse { answers : Vec < String > } ,
135
141
142
+ /// Editing a related poll event's description.
136
143
PollEdit { replacement : Replacement < NewUnstablePollStartEventContentWithoutRelation > } ,
137
144
145
+ /// Ending a related poll.
138
146
PollEnd ,
139
147
}
140
148
You can’t perform that action at this time.
0 commit comments