Skip to content

Commit

Permalink
remove debug params
Browse files Browse the repository at this point in the history
  • Loading branch information
sdfsdhgjkbmnmxc committed Nov 29, 2020
1 parent c1008c7 commit d461d7d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 8 deletions.
5 changes: 2 additions & 3 deletions client_call_leave.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ type ClientCallLeave struct {
func (p ClientCallLeave) GetName() string { return "client.call.leave" }

type clientCallLeaveParams struct {
Jid JID `json:"jid"`
Reason string `json:"reason"`
LeaveWithoutClosing bool `json:"test_not_in_room,omitempty"`
Jid JID `json:"jid"`
Reason string `json:"reason"`
}
8 changes: 3 additions & 5 deletions server_call_muteall.go
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
package tdproto

func NewServerCallMuteall(jid JID, muted bool, error string) (r ServerCallMuteall) {
func NewServerCallMuteall(jid JID, muted bool) (r ServerCallMuteall) {
r.Name = r.GetName()
r.Params.Jid = jid
r.Params.Muted = muted
r.Params.Error = error
return r
}

Expand All @@ -16,7 +15,6 @@ type ServerCallMuteall struct {
func (p ServerCallMuteall) GetName() string { return "server.call.muteall" }

type serverCallMuteallParams struct {
Jid JID `json:"jid"`
Muted bool `json:"muted"`
Error string `json:"reason"`
Jid JID `json:"jid"`
Muted bool `json:"muted"`
}

0 comments on commit d461d7d

Please sign in to comment.