Feature Request: Add Chat History to Group right click menus

This commit is contained in:
Liru Færs
2020-01-08 19:11:46 -05:00
parent c954d02125
commit 6ebd2eef00
4 changed files with 25 additions and 7 deletions

View File

@@ -9287,13 +9287,13 @@ bool can_show_web_profile()
return !gSavedSettings.getString("WebProfileURL").empty();
}
void show_log_browser(const LLUUID& id);
void show_log_browser(const LLUUID& id, const LFIDBearer::Type& type);
class ListShowLog : public view_listener_t
{
bool handleEvent(LLPointer<LLEvent> event, const LLSD& userdata)
{
for (const LLUUID& id : LFIDBearer::getActiveSelectedIDs())
show_log_browser(id);
show_log_browser(id, LFIDBearer::getActiveType());
return true;
}
};