inboxView: Ensure Conversation exists for our own number
This commit is contained in:
parent
a24d9f9979
commit
b9cc17b81a
1 changed files with 1 additions and 1 deletions
|
@ -96,7 +96,7 @@
|
||||||
new Whisper.FontSizeView({ el: this.$el });
|
new Whisper.FontSizeView({ el: this.$el });
|
||||||
|
|
||||||
const ourNumber = textsecure.storage.user.getNumber();
|
const ourNumber = textsecure.storage.user.getNumber();
|
||||||
const me = ConversationController.get(ourNumber);
|
const me = ConversationController.getOrCreate(ourNumber, 'private');
|
||||||
this.mainHeaderView = new Whisper.ReactWrapperView({
|
this.mainHeaderView = new Whisper.ReactWrapperView({
|
||||||
className: 'main-header-wrapper',
|
className: 'main-header-wrapper',
|
||||||
Component: Signal.Components.MainHeader,
|
Component: Signal.Components.MainHeader,
|
||||||
|
|
Loading…
Reference in a new issue