diff --git a/js/modules/loki_app_dot_net_api.js b/js/modules/loki_app_dot_net_api.js index 6d725a2a5..e36084eef 100644 --- a/js/modules/loki_app_dot_net_api.js +++ b/js/modules/loki_app_dot_net_api.js @@ -468,8 +468,11 @@ class LokiAppDotNetServerAPI { response.data && response.data.avatar_image && response.data.avatar_image.url; + + // We don't use the server id for avatars return { url, + id: null, }; } diff --git a/js/views/conversation_view.js b/js/views/conversation_view.js index eac739ed5..4ba95d709 100644 --- a/js/views/conversation_view.js +++ b/js/views/conversation_view.js @@ -2418,7 +2418,7 @@ // Alt would normally make the cursor go until the next whitespace, // but we need to take the presence of a mention into account - if (event.altKey) { + if (event.altKey || event.ctrlKey) { const searchFrom = isLeft ? posToChange - 1 : posToChange + 1; const toSearch = isLeft ? text.substr(0, searchFrom) diff --git a/ts/components/conversation/TypingBubble.tsx b/ts/components/conversation/TypingBubble.tsx index d4566f677..53229f985 100644 --- a/ts/components/conversation/TypingBubble.tsx +++ b/ts/components/conversation/TypingBubble.tsx @@ -52,18 +52,22 @@ export class TypingBubble extends React.Component { const { i18n, color } = this.props; return ( -
+
-
- +
+
+ +
+ {this.renderAvatar()}
- {this.renderAvatar()}
);