Anton Shestakov <av6@dwimlabs.net>, Wed, 23 Mar 2016 16:55:52 +0800
index: maintain only one contact with type 'self'
This isn't done in an event handler of contacts collection because doing it in
'add' handler would trigger 'sort' event after the model has been added, but
before its 'add' event has propagated, and that's dumb.
contrib/Vagrantfile
Permissions: -rw-r--r--
Vagrant.configure("2") do |config|
config.vm.box = "ubuntu/trusty64"
config.vm.network "private_network", ip: "192.168.33.111"
config.vm.network "forwarded_port", guest: 443, host: 21443
config.vm.synced_folder "..", "/vagrant", mount_options: ["dmode=755,fmode=644"]
config.vm.provider "virtualbox" do |vb|
vb.customize ["modifyvm", :id, "--cpus", "1"]
vb.customize ["modifyvm", :id, "--memory", "256"]
config.vm.provision "ansible" do |ansible|
ansible.playbook = "provision/playbook.yml"
#ansible.tags = "common,nginx,prosody,turnserver,certs,tram-im"