forked from abner/for-legacy-web
Merge pull request #98 from fatalerrorcoded/master
This commit is contained in:
@@ -79,7 +79,7 @@ type Action =
|
||||
| { action: "retry_message"; message: QueuedMessage }
|
||||
| { action: "cancel_message"; message: QueuedMessage }
|
||||
| { action: "mention"; user: string }
|
||||
| { action: "reply_message"; id: string }
|
||||
| { action: "reply_message"; target: Message }
|
||||
| { action: "quote_message"; content: string }
|
||||
| { action: "edit_message"; id: string }
|
||||
| { action: "delete_message"; target: Message }
|
||||
@@ -247,7 +247,7 @@ function ContextMenus(props: Props) {
|
||||
|
||||
case "reply_message":
|
||||
{
|
||||
internalEmit("ReplyBar", "add", data.id);
|
||||
internalEmit("ReplyBar", "add", data.target);
|
||||
}
|
||||
break;
|
||||
|
||||
@@ -702,7 +702,7 @@ function ContextMenus(props: Props) {
|
||||
if (message && !queued) {
|
||||
generateAction({
|
||||
action: "reply_message",
|
||||
id: message._id,
|
||||
target: message,
|
||||
});
|
||||
|
||||
if (
|
||||
|
||||
Reference in New Issue
Block a user