equal
deleted
inserted
replaced
41 f := func(st Stanza) bool { |
41 f := func(st Stanza) bool { |
42 if iq.Type == "error" { |
42 if iq.Type == "error" { |
43 ch <- iq.Error |
43 ch <- iq.Error |
44 return false |
44 return false |
45 } |
45 } |
46 rq, ok := st.XNested().(*RosterQuery) |
46 rq, ok := st.GetNested().(*RosterQuery) |
47 if !ok { |
47 if !ok { |
48 ch <- os.NewError(fmt.Sprintf( |
48 ch <- os.NewError(fmt.Sprintf( |
49 "Roster query result not query: %v", st)) |
49 "Roster query result not query: %v", st)) |
50 return false |
50 return false |
51 } |
51 } |