replyEntry method
Implementation
Future<int> replyEntry(String shortLink, String replyText, String ppShortLink,
Uint8List attachement, String attachmentType, int _xxHash) async {
if (homeSite == null) return -1;
return homeSite!
.newReplyToQueue(replyText, shortLink, ppShortLink, attachement,
attachmentType, nick, avatar, _xxHash)
.then((value) {
//if (value > -1) {
_tbsCache.remove(shortLink);
//}
return value;
});
/*ModeratorEntry? target = findModeratorEntryByShortLink(shortLink);
if (target == null) return -1;
final surl = target.siteUrl.isNotEmpty ? target.siteUrl : _homeSite;
return _sites[surl]!
.newReplyToQueue(replyText, target.shortLink, ppShortLink, attachement,
attachmentType, nick, avatar, _xxHash)
.then((value) {
if (value > -1) {
_tbsCache.remove(shortLink);
}
return value;
});*/
}