huyouare/Duke-Study-Group

Chat (no group) settings do not work

Closed this issue · 1 comments

If a chat is not associated with a group, then in settings, we cannot load the unique full list of members (duplicate copies for those who posted more than one message, and none for those who never posted a message). Also, we cannot load the group name since chat has no name.

There are several ways to deal with this:

  1. add a flag in ChatViewController telling if it's a pure chat or study group chat, and pass it to settings. In settings, we will not load members and name. Just leave group functionality.
  2. add chat name field in chat table. but this may conflict with group name for study group chat. Also, this does not solve loading members issue.
  3. any suggestions?

This issue will be obsolete once we delete the message tab view