FIX: wasn't redirected to group inbox

This commit is contained in:
Régis Hanol 2017-12-13 23:31:20 +01:00
parent c63ecd87f2
commit 53bbf08ea1
1 changed files with 1 additions and 1 deletions

View File

@ -256,7 +256,7 @@ export default Ember.Controller.extend(BufferedContent, {
if (topic.get('archiving')) { return; }
const backToInbox = () => this.goToInbox(topic.get("inboxGroupName"));
const backToInbox = () => this.gotoInbox(topic.get("inboxGroupName"));
if (topic.get('message_archived')) {
topic.moveToInbox().then(backToInbox);