Skip to content

Commit

Permalink
inboxView: Ensure Conversation exists for our own number
Browse files Browse the repository at this point in the history
  • Loading branch information
scottnonnenberg-signal committed Oct 18, 2018
1 parent a24d9f9 commit b9cc17b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/views/inbox_view.js
Expand Up @@ -96,7 +96,7 @@
new Whisper.FontSizeView({ el: this.$el });

const ourNumber = textsecure.storage.user.getNumber();
const me = ConversationController.get(ourNumber);
const me = ConversationController.getOrCreate(ourNumber, 'private');
this.mainHeaderView = new Whisper.ReactWrapperView({
className: 'main-header-wrapper',
Component: Signal.Components.MainHeader,
Expand Down

0 comments on commit b9cc17b

Please sign in to comment.