mirror of
https://github.com/Hopiu/postal.js.git
synced 2026-03-16 22:20:23 +00:00
Fixes #65
This commit is contained in:
parent
86570ea701
commit
78d52fcb14
1 changed files with 1 additions and 1 deletions
|
|
@ -125,7 +125,7 @@ _postal = {
|
|||
tpc = arguments[ 1 ];
|
||||
if ( arguments.length === 1 ) {
|
||||
channel = arguments[ 0 ].channel || this.configuration.DEFAULT_CHANNEL;
|
||||
tpc = arguments[ 0 ].topic;
|
||||
tpc = arguments[ 0 ].topic || arguments[ 0 ];
|
||||
}
|
||||
if ( this.subscriptions[ channel ] &&
|
||||
Object.prototype.hasOwnProperty.call( this.subscriptions[ channel ], tpc ) ) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue