aboutsummaryrefslogtreecommitdiff
path: root/upgrade.c
diff options
context:
space:
mode:
Diffstat (limited to 'upgrade.c')
-rw-r--r--upgrade.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/upgrade.c b/upgrade.c
index 87ddfc8..9e0ae6e 100644
--- a/upgrade.c
+++ b/upgrade.c
@@ -213,7 +213,7 @@ int snac_upgrade(xs_str **error)
object_add_ow(id, o);
/* if it's from us, add to public */
- if (xs_startswith(id, snac.actor)) {
+ if (is_msg_mine(&snac, id)) {
const xs_list *p;
const char *v;
int c;