Fix mention parsing

This commit is contained in:
2022-12-29 16:19:16 +00:00
parent 5d5e6d986d
commit 8aaa5103c4
2 changed files with 2 additions and 0 deletions

View File

@ -93,6 +93,7 @@ export default class Connection {
AddSubscription(sub) {
let subObj = sub.ToObject();
if (Object.keys(subObj).length === 0) {
debugger;
throw "CANNOT SEND EMPTY SUB - FIX ME";
}
let req = ["REQ", sub.Id, subObj];