Skip to content

Commit

Permalink
bump to 1.7.2 (#1926)
Browse files Browse the repository at this point in the history
* do not consider expire timer update unread messages #1881

* cleanup conversation props in redux to only have what cannot be derived

* fix app not starting without the await on convo creation

* cleanup props of message model

* bump to 1.7.2
  • Loading branch information
Bilb authored Sep 20, 2021
1 parent e3c27f1 commit efebd8b
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 8 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "session-desktop",
"productName": "Session",
"description": "Private messaging from your desktop",
"version": "1.7.1",
"version": "1.7.2",
"license": "GPL-3.0",
"author": {
"name": "Loki Project",
Expand Down
2 changes: 0 additions & 2 deletions ts/components/ConversationListItem.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,6 @@ const MessageItem = (props: {
lastMessage?: LastMessageType;
isTyping: boolean;
unreadCount: number;
convoId: string;
}) => {
const { lastMessage, isTyping, unreadCount } = props;

Expand Down Expand Up @@ -324,7 +323,6 @@ const ConversationListItem = (props: Props) => {
currentNotificationSetting={currentNotificationSetting || 'all'}
/>
<MessageItem
convoId={conversationId}
isTyping={!!isTyping}
unreadCount={unreadCount || 0}
lastMessage={lastMessage}
Expand Down
8 changes: 3 additions & 5 deletions ts/models/message.ts
Original file line number Diff line number Diff line change
Expand Up @@ -526,15 +526,13 @@ export class MessageModel extends Backbone.Model<MessageAttributes> {
if (body) {
props.text = this.createNonBreakingLastSeparator(body);
}

if (this.get('messageHash')) {
props.messageHash = this.get('messageHash');
}

if (this.get('isDeleted')) {
props.isDeleted = this.get('isDeleted');
}

if (this.get('messageHash')) {
props.messageHash = this.get('messageHash');
}
if (this.get('received_at')) {
props.receivedAt = this.get('received_at');
}
Expand Down

0 comments on commit efebd8b

Please sign in to comment.