parsav  Diff

Differences From Artifact [7cc6c4467d]:

To Artifact [db020952e6]:


    10     10   	id: uint64
    11     11   }
    12     12   
    13     13   terra m.eval(expr: lib.str.t, agent: m.agent)
    14     14   
    15     15   end
    16     16   
           17  +
           18  +terra lib.store.post:comp()
           19  + -- TODO extract mentions from body, circles from acl
           20  +	self.mentions = [lib.mem.ptr(uint64)].null()
           21  +	self.circles = [lib.mem.ptr(uint64)].null()
           22  +	self.convoheaduri = nil
           23  +end
           24  +
    17     25   terra lib.store.post:save(ctupdate: bool)
    18         --- this post handles the messy details of registering a post's
    19         --- circles and actors, and increments the edit-count if ctupdate
    20         --- is true, which is should be in almost all cases.
           26  + -- this post handles the messy details of registering a post's
           27  + -- circles and actors, and increments the edit-count if ctupdate
           28  + -- is true, which is should be in almost all cases.
    21     29   	if ctupdate then
    22     30   		self.chgcount = self.chgcount + 1
    23     31   		self.edited = lib.osclock.time(nil)
    24     32   	end
    25         -	-- TODO extract mentions from body, circles from acl
           33  +	self:comp()
    26     34   	self.source:post_save(self)
    27     35   end
    28     36   
    29     37   return m