Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- foreach (var e in results)
- {
- var interaction_type = e.get_subject (0).get_interpretation ();
- for (var i = 1; i < e.num_subjects (); i++)
- {
- var id = this._get_iid_from_event_metadata (e.get_subject (i).get_uri ());
- this._personas.get (id).freeze_notify ();
- this._increase_persona_counter (id, interaction_type, e);
- ids.add (id);
- }
- }
- /* Allow notifications for personas with an interaction history */
- foreach (var id in ids)
- {
- var persona = this._personas.get (id);
- persona.thaw_notify ();
- persona.notify_property ("im-interaction-count");
- persona.notify_property ("last-im-interaction-datetime");
- persona.notify_property ("call-interaction-count");
- persona.notify_property ("last-call-interaction-datetime");
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement