From 03756c65fc1c5bebfc4009bca32b5f681b5c1b21 Mon Sep 17 00:00:00 2001 From: redmatrix Date: Tue, 28 Jul 2015 17:55:21 -0700 Subject: make superblock block a channel if it's an owner as well as the current author; add @hostname to event hashes to make their use in vcalendar more RFC compliant --- include/event.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/event.php') diff --git a/include/event.php b/include/event.php index a5cd93215..784da0545 100644 --- a/include/event.php +++ b/include/event.php @@ -281,7 +281,7 @@ function event_store_event($arr) { if(array_key_exists('external_id',$arr)) $hash = $arr['external_id']; else - $hash = random_string(); + $hash = random_string() . '@' . get_app()->get_hostname(); $r = q("INSERT INTO event ( uid,aid,event_xchan,event_hash,created,edited,start,finish,summary,description,location,type, adjust,nofinish,allow_cid,allow_gid,deny_cid,deny_gid) -- cgit v1.2.3