split topics out from message list on firebase