hunk.code_window: 	if _, err := Client.UpdateLastViewedAt(th.BasicChannel.Id, true); err != nil {
   		t.Fatal(err)
   	}
   	status, _ = GetStatus(th.BasicUser.Id)
   	// need to check if offline to catch race
   	if status.Status != model.STATUS_OFFLINE && status.ActiveChannel != th.BasicChannel.Id {
   		t.Fatal("active channel should be set")
  
hunk.labels: keep keep keep add keep keep keep keep
hunk.after_edit: 	time.Sleep(500 * time.Millisecond)
  
hunk.file_path: api/status_test.go
hunk.type: add
file: // Package throttled implements rate limiting access to resources such
  // as HTTP endpoints.
  package throttled // import "gopkg.in/throttled/throttled.v2"
  