Skip to content

Commit

Permalink
chore: perform some cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
valeriansaliou committed Oct 18, 2023
1 parent d04a830 commit df0f7e7
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 53 deletions.
41 changes: 0 additions & 41 deletions src/components/base/BaseSample.vue

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,8 @@ import {

// CONSTANTS
// TODO: import this from the JS SDK?
const OMEMO_VERSION = "0.8.3"; // TODO: from local OMEMO library version tag
// TODO: from local OMEMO library version tag
const OMEMO_VERSION = "0.0.0";

export default {
name: "EditProfileEncryptionDeviceCurrent",
Expand Down
11 changes: 1 addition & 10 deletions src/components/sidebar/SidebarMainItemUser.vue
Original file line number Diff line number Diff line change
Expand Up @@ -106,16 +106,7 @@ export default {
},

unreadCount() {
// TODO: those are fixtures, this data should come somewhere from the \
// store, based on the user JID!
if (this.jid.node?.startsWith("m") === true) {
return 8;
}

if (this.jid.node?.startsWith("s") === true) {
return 15;
}

// TODO: return a non-zero unread count if there are unread messages
return 0;
},

Expand Down
1 change: 0 additions & 1 deletion src/views/app/inbox/AppInboxBase.vue
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,6 @@ export default {
},

room(): Room | void {
// TODO: handle case of room not found (show placeholder data)
return Store.$muc.getRoomByID(this.roomId);
},

Expand Down

0 comments on commit df0f7e7

Please sign in to comment.