do not set lastMessageTime if localStore is not used