These are chat archives for mydigitalself/demo

13th
Jan 2015
Mike Bartlett
@mydigitalself
Jan 13 2015 15:23
function removeItem(troupeId, itemId, userIds) {
  var keys = userIds.reduce(function(memo, userId) {
      memo.push(
        "unread:chat:" + userId + ":" + troupeId,                 // Unread for user
        "ub:" + userId,                                           // Unread badge for user
        "m:" + userId + ":" + troupeId,                           // User Troupe mention items
        "m:" + userId                                             // User mentions
      );

      return memo;
    }, []);