mirror of
https://github.com/cinnyapp/cinny.git
synced 2025-11-15 19:50:28 +03:00
Add option to view event source (#320)
* Add view source * Add view source cons * Change design * Use PopupWindow instead of Dialog * Undo changes to Dialog.jsx
This commit is contained in:
parent
a8a168b0a7
commit
1d7fbc841e
8 changed files with 119 additions and 2 deletions
|
|
@ -109,6 +109,13 @@ export function openReadReceipts(roomId, userIds) {
|
|||
});
|
||||
}
|
||||
|
||||
export function openViewSource(event) {
|
||||
appDispatcher.dispatch({
|
||||
type: cons.actions.navigation.OPEN_VIEWSOURCE,
|
||||
event,
|
||||
});
|
||||
}
|
||||
|
||||
export function replyTo(userId, eventId, body) {
|
||||
appDispatcher.dispatch({
|
||||
type: cons.actions.navigation.CLICK_REPLY_TO,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue