Douglas Bischoff
unread,Jul 20, 2009, 10:34:53 AM7/20/09Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to meteorserver
Me again.
Okay, things are going rather well. Now, my application needs a method
to start the stream from a known message id (as suggested in the
server documentation) but there doesn't appear to be a way to do that
using meteor.js.
Looking through meteor.js' functions, it appears that it would be a
trival matter to make a version of "joinChannel: function(channelname,
backtrack)" that goes something like "resumeChannel function
(channelname, messageID)" then changes:
Meteor.channels[channelname] = {backtrack:backtrack, lastmsgreceived:
0};
to
Meteor.channels[channelname] = {backtrack:0,
lastmsgreceived:messageID};
Is this possible? I can, naturally, patch my own version of meteor.js
to do that (or create my own version and stick it on my own server)
but I wonder if, since this function doesn't already exist, I am
looking at this incorrectly?
Thanks again,
-Doug