inboxView: Ensure Conversation exists for our own number
This commit is contained in:
@@ -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,
|
||||||
|
Reference in New Issue
Block a user