anchor.diff:          W:send({account, From}, [chat_online_confirm, Confirm]),
           %% 通知连接者
           ss_server:dispatch({chat_from, Content, From}, S),
  +        %% 保存接收记录
  +        save_chat(Content, From, maps:get(account, S), S),
           {ok, S}
       end, S).
   
  
positive.code: %% contacts保存联系人的格式为 [{account(), #{rel=>rel()}}]
  %%     rel() :: single|double
  model(contacts) -> ss_model:filter([contacts], model(all));
  
  model(_) -> [].
  
  
negative.code:                 ok=Db:update(Id, New),
                  % 发送邀请
                  W:send(?offline, [invite, Account, To]),
                  % 保存邀请记录
                  save_invite(invite_to, Account, To, S),
                  {ok, S#{contacts=>Contacts}}
          end
      end, S).
  