danlg / lgen

lgen
MIT License
2 stars 1 forks source link

[App] Same message to be broadcast to multiple group #660

Open danlg opened 8 years ago

danlg commented 8 years ago

Necessary to implement #648 and fix #657

Smartix.Messages.Schema = new SimpleSchema({
    group: { type: String, optional:true },
    groups: { type: [String], optional:true }

the new code will only insert messages with field groups populated but will be able to read from field group for backward capability reason