-
Notifications
You must be signed in to change notification settings - Fork 319
Closed
Labels
a-apiImplementing specific parts of the Zulip server APIImplementing specific parts of the Zulip server API
Milestone
Description
https://zulip.com/api/get-events#update_message
This issue is for the case where the message's contents were changed. (The case where the message changed stream and/or topic is #150.)
In particular these should be handled in the MessageListView view-model, so that the edits get reflected in a message list the user might be looking at.
For this issue, we'll:
- Add a new
Event
subclass for these events, similar to the others.- For this issue we can ignore
new_stream_id
,propagate_mode
, and all the other properties that are documented at https://zulip.com/api/get-events#update_message as present only when the event moved messages. (We'll get to those later as part of Handle moved messages (update_message events, 2/2) #150.)
- For this issue we can ignore
- Handle these events in
PerAccountStore.handleEvent
by calling a newly-added method onMessageListView
, similar to the handling ofMessageEvent
.
chrisbobbe
Metadata
Metadata
Assignees
Labels
a-apiImplementing specific parts of the Zulip server APIImplementing specific parts of the Zulip server API
Type
Projects
Status
Done