Răsfoiți Sursa

Deleted debug messages.

default 2 ani în urmă
părinte
comite
adf4213756
1 a modificat fișierele cu 1 adăugiri și 5 ștergeri
  1. 1 5
      activitypub.c

+ 1 - 5
activitypub.c

@@ -514,10 +514,8 @@ int is_msg_for_me(snac *snac, const xs_dict *c_msg)
         else
         else
         if (actor_followers && strcmp(v, actor_followers) == 0) {
         if (actor_followers && strcmp(v, actor_followers) == 0) {
             /* if this message is for this actor's followers, are we one of them? */
             /* if this message is for this actor's followers, are we one of them? */
-            if (following_check(snac, actor)) {
-                snac_debug(snac, 0, xs_fmt("---> non-public msg for followers"));
+            if (following_check(snac, actor))
                 return 6;
                 return 6;
-            }
         }
         }
     }
     }
 
 
@@ -542,8 +540,6 @@ int is_msg_for_me(snac *snac, const xs_dict *c_msg)
         }
         }
     }
     }
 
 
-    snac_debug(snac, 0, xs_fmt("is_msg_for_me() final"));
-
     return 0;
     return 0;
 }
 }