aboutsummaryrefslogtreecommitdiffstats
path: root/boot.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2012-11-16 14:18:25 -0800
committerfriendica <info@friendica.com>2012-11-16 14:18:25 -0800
commit125d1283acbb6f5756ce1569b6d5739aae9ee3d2 (patch)
treea6cffaae35a78f9d5544f39ba1f3b0f04bca1d9a /boot.php
parentc33c6dbb39b20be172a89b933d462dee968db89b (diff)
downloadvolse-hubzilla-125d1283acbb6f5756ce1569b6d5739aae9ee3d2.tar.gz
volse-hubzilla-125d1283acbb6f5756ce1569b6d5739aae9ee3d2.tar.bz2
volse-hubzilla-125d1283acbb6f5756ce1569b6d5739aae9ee3d2.zip
notes on need for 'xsite' table for global directory and a catalog
of known sites
Diffstat (limited to 'boot.php')
-rw-r--r--boot.php8
1 files changed, 8 insertions, 0 deletions
diff --git a/boot.php b/boot.php
index 68bdadc95..1f7c7d6c9 100644
--- a/boot.php
+++ b/boot.php
@@ -224,6 +224,13 @@ define ( 'NOTIFY_POKE', 0x0200 );
define ( 'NOTIFY_SYSTEM', 0x8000 );
+// We need a flag to designate that a site is a
+// global directory mirror, but probably doesn't
+// belong in hubloc.
+// This indicates a need for an 'xsite' table
+// which contains only sites and not people.
+// Then we might have to revisit hubloc as a
+// linked structure between xchan and xsite
define ( 'HUBLOC_FLAGS_PRIMARY', 0x0001);
define ( 'HUBLOC_FLAGS_UNVERIFIED', 0x0002);
@@ -350,6 +357,7 @@ define ( 'ITEM_UPLINK_PRV', 0x0010);
define ( 'ITEM_WALL', 0x0020);
define ( 'ITEM_THREAD_TOP', 0x0040);
define ( 'ITEM_NOTSHOWN', 0x0080); // technically visible but not normally shown (e.g. like/dislike)
+define ( 'ITEM_NSFW', 0x0100);