Minor
This commit is contained in:
parent
7a5f71f801
commit
0d45848cfe
|
@ -225,7 +225,7 @@ export class AdManager {
|
||||||
|
|
||||||
|
|
||||||
static onConnectionClosed(): void {
|
static onConnectionClosed(): void {
|
||||||
AdManager.recoverableCharacter = core.characters.ownCharacter.name;
|
AdManager.recoverableCharacter = _.get(core, 'characters.ownCharacter.name', '');
|
||||||
|
|
||||||
AdManager.recoverableAds = _.map(
|
AdManager.recoverableAds = _.map(
|
||||||
_.filter(core.conversations.channelConversations, (c) => ((c.adManager) && (c.adManager.isActive()))),
|
_.filter(core.conversations.channelConversations, (c) => ((c.adManager) && (c.adManager.isActive()))),
|
||||||
|
|
Loading…
Reference in New Issue