ring-lrc compile failed on conversationmodel.cpp
Compile of ring-lrc/src/conversationmodel.cpp failed. The error was CANCELLED is not a member of DRing::Account::MessageStates. However MessageStates is defined in ring-daemon and includes CANCELLED but appears to be out of scope in ring-lrc. I found in ring-daemon/src/manager.cpp a method that casts MessageStatus to MessageStates. The method is called statusFromImStatus. The MessageStates CANCELLED is missing from this method. I added "case im::MessageStatus::CANCELLED: return static_cast(DRing::Account::MessageStates::CANCELLED);" For both ring-daemon and ring-lrc I did make clean. Both compiled successfully.