diff libervia/web/pages/chat/select/page_meta.py @ 1578:c57133362fb7

pages (chat/select): fix search submission.
author Goffi <goffi@goffi.org>
date Wed, 22 Nov 2023 16:31:36 +0100
parents eb00d593801d
children c6976c5b85a1
line wrap: on
line diff
--- a/libervia/web/pages/chat/select/page_meta.py	Wed Nov 22 16:31:36 2023 +0100
+++ b/libervia/web/pages/chat/select/page_meta.py	Wed Nov 22 16:31:36 2023 +0100
@@ -30,7 +30,7 @@
 
 @defer.inlineCallbacks
 def on_data_post(self, request):
-    jid_ = self.get_posted_data(request, "jid")
+    jid_ = self.get_posted_data(request, "search")
     if "@" not in jid_:
         profile = self.get_profile(request)
         service = yield self.host.bridge_call("muc_get_service", "", profile)