e;
              },
							error:  function(data) {
                console.log(data);
              }
        });

		//if (!res) return false;

		 $.ajax({
              url: "/messages/subscriptions/topic/chat",
              type: "POST",
              async: false,
              success: function(data) {
								res = true;
                console.log(data);
								receive();
              },
							error:  function(data) {
                console.log(data);
              }
        });
		return res;
	}