]> git.mxchange.org Git - quix0rs-gnu-social.git/commit
Combine code that finds mentions into one place and add hook points
authorEvan Prodromou <evan@status.net>
Sun, 21 Feb 2010 21:20:30 +0000 (16:20 -0500)
committerEvan Prodromou <evan@status.net>
Sun, 21 Feb 2010 21:20:30 +0000 (16:20 -0500)
commitab3db8c89971fc6148fbc8e0c031f9518c280bf1
tree07dff69938839c51d4b2eec3d991c1e73c04e18c
parent4209082677eaa16a5826bcb1d6984bfe1670f97b
Combine code that finds mentions into one place and add hook points

Combined the code that finds mentions of other profiles into one place.

common_find_mentions() finds mentions and calls hooks to allow
supplemental syntax for mentions (like OStatus).

common_linkify_mentions() links mentions.

common_linkify_mention() links a mention.

Notice::saveReplies() now uses common_find_mentions() instead of
trying to parse everything again.
EVENTS.txt
classes/Notice.php
lib/util.php