diff libervia/backend/bridge/pb.py @ 4284:3a550e9a2b55

black reformatting
author Goffi <goffi@goffi.org>
date Sun, 14 Jul 2024 16:47:45 +0200
parents 4cf98f506269
children
line wrap: on
line diff
--- a/libervia/backend/bridge/pb.py	Sun Jul 14 16:45:17 2024 +0200
+++ b/libervia/backend/bridge/pb.py	Sun Jul 14 16:47:45 2024 +0200
@@ -164,7 +164,6 @@
         """
         self.root._bridge_reactivate_signals()
 
-
     def _debug(self, action, params, profile):
         self.send_signal("_debug", action, params, profile)
 
@@ -187,13 +186,39 @@
         self.send_signal("entity_data_updated", jid, name, value, profile)
 
     def message_encryption_started(self, to_jid, encryption_data, profile_key):
-        self.send_signal("message_encryption_started", to_jid, encryption_data, profile_key)
+        self.send_signal(
+            "message_encryption_started", to_jid, encryption_data, profile_key
+        )
 
     def message_encryption_stopped(self, to_jid, encryption_data, profile_key):
-        self.send_signal("message_encryption_stopped", to_jid, encryption_data, profile_key)
+        self.send_signal(
+            "message_encryption_stopped", to_jid, encryption_data, profile_key
+        )
 
-    def message_new(self, uid, timestamp, from_jid, to_jid, message, subject, mess_type, extra, profile):
-        self.send_signal("message_new", uid, timestamp, from_jid, to_jid, message, subject, mess_type, extra, profile)
+    def message_new(
+        self,
+        uid,
+        timestamp,
+        from_jid,
+        to_jid,
+        message,
+        subject,
+        mess_type,
+        extra,
+        profile,
+    ):
+        self.send_signal(
+            "message_new",
+            uid,
+            timestamp,
+            from_jid,
+            to_jid,
+            message,
+            subject,
+            mess_type,
+            extra,
+            profile,
+        )
 
     def message_update(self, uid, message_type, message_data, profile):
         self.send_signal("message_update", uid, message_type, message_data, profile)
@@ -201,8 +226,34 @@
     def notification_deleted(self, id, profile):
         self.send_signal("notification_deleted", id, profile)
 
-    def notification_new(self, id, timestamp, type, body_plain, body_rich, title, requires_action, priority, expire_at, extra, profile):
-        self.send_signal("notification_new", id, timestamp, type, body_plain, body_rich, title, requires_action, priority, expire_at, extra, profile)
+    def notification_new(
+        self,
+        id,
+        timestamp,
+        type,
+        body_plain,
+        body_rich,
+        title,
+        requires_action,
+        priority,
+        expire_at,
+        extra,
+        profile,
+    ):
+        self.send_signal(
+            "notification_new",
+            id,
+            timestamp,
+            type,
+            body_plain,
+            body_rich,
+            title,
+            requires_action,
+            priority,
+            expire_at,
+            extra,
+            profile,
+        )
 
     def param_update(self, name, value, category, profile):
         self.send_signal("param_update", name, value, category, profile)