Plugin links pt 2: Link::InsertText (#6527)

This commit is contained in:
Mm2PL
2025-10-25 15:30:49 +02:00
committed by GitHub
parent 86217019da
commit 6e443cd767
7 changed files with 15 additions and 2 deletions
+1 -1
View File
@@ -190,6 +190,7 @@ std::unique_ptr<MessageElement> elementFromTable(const sol::table &tbl)
break;
// these links should be safe to click as they don't have any immediate action associated with them
case Link::InsertText:
case Link::JumpToChannel:
case Link::JumpToMessage:
case Link::UserInfo:
@@ -201,7 +202,6 @@ std::unique_ptr<MessageElement> elementFromTable(const sol::table &tbl)
case Link::None:
case Link::AutoModAllow:
case Link::AutoModDeny:
case Link::InsertText:
case Link::OpenAccountsPage:
case Link::Reconnect:
throw std::runtime_error(